﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WorkflowCore.Interface;
using WorkflowCore.Models;

namespace Service.CertWorkFlow.Steps
{
    public class End : StepBody
    {
        public override ExecutionResult Run(IStepExecutionContext context)
        {
            var data = context.Workflow.Data as WorkflowData;
            data.Action?.Invoke("任务结束");
            return ExecutionResult.Next();
        }
    }
}
